package com.jfl.exception;

import com.jfl.enums.HttpCode;

/**
 * 业务异常类
 * 
 * @author 赵炎
 * @version [V1.00, 2018年11月19日]
 * @since V1.00
 */
public class BusinessException extends BaseException
{
    
    /**
     * serialVersionUID
     */
    private static final long serialVersionUID = -1180441752646198840L;
    
    public BusinessException()
    {
    }
    
    public BusinessException(Throwable ex)
    {
        super(ex);
    }
    
    public BusinessException(String message)
    {
        super(message);
    }
    
    public BusinessException(String message, Throwable ex)
    {
        super(message, ex);
    }
    
    protected HttpCode getCode()
    {
        return HttpCode.CONFLICT;
    }
    
}
